﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration  xmlns="urn:nhibernate-configuration-2.0">
	<session-factory name="Education">
		<!-- properties -->
		<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
		<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
		<property name="connection.connection_string">server=.;database=EducationSystem;Uid=EducationSystem;Pwd=1EducationSystem2;</property>
		<property name="show_sql">false</property>
		<property name="dialect">NHibernate.Dialect.MsSql7Dialect</property>
		<property name="use_outer_join">true</property>
		<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
		<!-- mapping files -->
		<mapping assembly="DataAccess" />
	</session-factory>
	
</hibernate-configuration>
